package handler

import "live-api/internal/svc"

func RegisterHandlers(r *Routers, serverCtx *svc.ServiceContext) {
	live := NewLiveHandler(serverCtx)
	liveGroup := r.Group()
	// 获取全部标签
	liveGroup.Get("/api/live/liveTag/findAllLiveTag", live.FindAllLiveTag)
	// 获取当前用户直播间
	liveGroup.Get("/api/live/liveRoom/getCurrentLive", live.GetCurrentLive)
}
